home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #3 / amigamamagazinepolishissue1998.iso / maksiu / lists / amoslist-1295.lzh / AMOSLIST / 000072_amos-request@svcs1.digex.net_Thu Dec 14 14:57:25 1995.msg < prev    next >
Internet Message Format  |  1995-12-31  |  3KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id OAA14257;  for <mcox@access.digex.net> ; Thu, 14 Dec 1995 14:57:23 -0500
  2. Received: (from daemon@localhost) by svcs1.digex.net (8.6.12/8.6.12) id SAA17391 for amos-out; Tue, 5 Dec 1995 18:43:35 -0500
  3. Received: from mail1.access.digex.net (mail1.access.digex.net [205.197.247.2]) by svcs1.digex.net (8.6.12/8.6.12) with ESMTP id SAA17384 for <amos-list@svcs1.digex.net>; Tue, 5 Dec 1995 18:43:32 -0500
  4. Received: from listserv.appstate.edu (root@listserv.appstate.edu [152.10.1.21]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id SAA24929;  for <amos-list@access.digex.net> ; Tue, 5 Dec 1995 18:43:31 -0500
  5. Received: from VX8550.APPSTATE.EDU ([152.10.1.2]) by listserv.appstate.edu with ESMTP id <10411-1>; Tue, 5 Dec 1995 18:43:30 -0500
  6. Received: from conrad.appstate.edu by conrad.appstate.edu (PMDF V5.0-5 #8642)
  7.  id <01HYGHNBMYXS99EIZ8@conrad.appstate.edu> for amos-list@access.digex.net;
  8.  Tue, 05 Dec 1995 18:40:51 -0400 (EDT)
  9. Date:     Tue, 05 Dec 1995 18:40:51 -0400 (EDT)
  10. From: DM9200@conrad.appstate.edu
  11. Subject: Image Processing
  12. To: amos-list@access.digex.net
  13. Message-id: <01HYGHNBNRV699EIZ8@conrad.appstate.edu>
  14. X-VMS-To: IN%"amos-list@access.digex.net"
  15. MIME-version: 1.0
  16. Content-transfer-encoding: 7BIT
  17. Status: RO
  18. X-Status: 
  19.  
  20.  
  21. Ok, thanks for the suggestions everyone. I think I am moving forward
  22. with this and may actually be able to fashion a rather crude image
  23. processor in Amos. All I meant by luminance is the brightness of the
  24. pixel. Perhaps that is referred to as luminosity, dunno. The idea is
  25. to smooth out a mottled dark background in the frame to colour zero
  26. by zapping the pixels without any bright neighbors.
  27.  
  28. I now know how to pull a hex value from a given pixel. It'll be in
  29. the form of a string and look like "FG3" or "2B2" or something like
  30. that. I understand what you all were saying about getting the brightness
  31. of the pixel by adding up, (and squaring), and dividing by 3. That would
  32. give me a number which tells me the brightness of the pixel. That is
  33. what I am trying to do.
  34.  
  35. However I don't know how to separate and pull a 0 to 16 value from
  36. the "F" and the "G" and the "3" of the "FG3" string. This is not the
  37. sort of programming at which I am good. I just need the line of code
  38. to get these 3 values, average them, set a minimum threshold to kill
  39. the pixel to zero, and then I'll run the procedure about 1,200,000
  40. times to process each pixel in my 70 frame animation.
  41.  
  42. Hmm, may have to go out and grab a bite in the meantime, what?
  43.  
  44. -------------------------------------------------------------------------
  45. From the Desk of Daniel Miller, Starving Artist/Parched Writer/Amiga User
  46. -------------------------------------------------------------------------